package com.hzqy.persistence.dao.industry;

import java.util.List;
import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Repository;

import com.hzqy.persistence.dao.core.PersistenceDao;
import com.hzqy.web.vo.industry.ZjDataOpenInterfaceDatasVo;
import com.hzqy.web.vo.industry.ZjZheJiangServiceVo;
import com.hzqy.web.vo.system.SysAreaVo;

@Repository
public class IndustryDao  extends PersistenceDao<ZjDataOpenInterfaceDatasVo, Integer>{
	protected final Logger LOG = LoggerFactory.getLogger(getClass());


	public int selectZjDataOpenInterfaceDatasCount(ZjDataOpenInterfaceDatasVo zjDataOpenInterfaceDatasVo) {
		String namespace = this.getNamespace();
		return getSqlSession().selectOne(namespace + "selectZjDataOpenInterfaceDatasCount", zjDataOpenInterfaceDatasVo);
	}
	
	public List<ZjDataOpenInterfaceDatasVo> selectZjDataOpenInterfaceDatasList(Map<String,Object> map){
		String namespace = this.getNamespace();
		return getSqlSession().selectList(namespace + "selectZjDataOpenInterfaceDatasList", map);
	}
	public Integer selectZjZheJiangServiceListCount(ZjZheJiangServiceVo zjZheJiangServiceVo) {
		String namespace = this.getNamespace();
		return getSqlSession().selectOne(namespace + "selectZjZheJiangServiceListCount", zjZheJiangServiceVo);
	}

	public List<ZjDataOpenInterfaceDatasVo> selectZjZheJiangServiceList(Map<String, Object> map) {
		String namespace = this.getNamespace();
		return getSqlSession().selectList(namespace + "selectZjZheJiangServiceList", map);
	}

	public Integer selectSysAreaListCount(SysAreaVo sysAreaVo) {
		String namespace = this.getNamespace();
		return getSqlSession().selectOne(namespace + "selectSysAreaListCount", sysAreaVo);
	}

	public List<SysAreaVo> selectSysAreaList(Map<String, Object> map) {
		String namespace = this.getNamespace();
		return getSqlSession().selectList(namespace + "selectSysAreaList", map);
	}
}
